package com.yingsheng.bi.hks.dto.Stores;


import com.yingsheng.bi.hks.dto.HksTransReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 修改门店信息
 */
@ApiModel(value = "门店修改请求体")
@EqualsAndHashCode(callSuper = true)
@Data
public class StoresModReq extends HksTransReq {

    @ApiModelProperty(value = "门店ID",required = true)
    @NotBlank
    private String id;

    @ApiModelProperty(value = "关联商户ID",required = true)
    @NotBlank
    private String merchantId;

    @ApiModelProperty(value = "关联品牌ID",required = true)
    @NotBlank
    private String brandId;

    @ApiModelProperty(value = "门店名称",required = true)
    @NotBlank
    private String name;

    @ApiModelProperty(value = "门店状态",required = true)
    @NotBlank
    private Integer state;

    @ApiModelProperty(value = "图片介绍URL",required = true)
    @NotBlank
    private String images;

    @ApiModelProperty(value = "地址信息",required = true)
    @NotBlank
    private String address;

    @ApiModelProperty(value = "地理位置-经纬度",required = true)
    @NotBlank
    private String location;
}
